package com.znsd.zl.app.tenant.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.znsd.zl.app.tenant.dao.ITenantDao;
import com.znsd.zl.app.tenant.entity.DateEntity;
import com.znsd.zl.app.tenant.entity.TenantEntity;
import com.znsd.zl.app.tenant.service.ITenantService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @ClassName: TenantServiceImpl
 * @Program: zlhouse-manage
 * @Description: 租客统计业务实现层
 * @Author: tangjun
 * @Date: 2020-08-24 00:04
 * @Version 1.0
 **/
@Service("tenantService")
public class TenantServiceImpl extends ServiceImpl<ITenantDao, TenantEntity> implements ITenantService {

	@Resource
	private ITenantDao iTenantDao;

	@Override
	public List<TenantEntity> monthQuery(DateEntity dateEntity) {
		return iTenantDao.monthQuery(dateEntity);
	}
}
